package gzx.specialcomponents
{
	public class RelayInfo
	{
		public static const Unknown:int = 0;   
		public static const Right:int = 1;   
		public static const Left:int = 2;
		
		public var x:int;
		public var y:int;
		public var RelayID:int;
		public var UpString:String;
		public var DownString:String;
		public var Direction:int = Unknown;
		public var ShortName:String;
		public var Color:int;
		public var IsMR:Boolean;
		public var Param:Object;
		
		public function RelayInfo(relayid:int, upString:String, downString:String, direction:int,isMr:Boolean=true, shortName:String="",color:int=-1,param:Object=null)
		{
			this.RelayID = relayid;
			this.UpString = upString;
			this.DownString = downString;
			this.IsMR = isMr;
			this.ShortName = shortName;
			this.Direction = direction;
			this.Color = color;
			this.Param = param;
		}
	}
}